#!/bin/bash

# amd 安装包
curl https://github.com/fatedier/frp/releases/download/v0.62.1/frp_0.62.1_linux_amd64.tar.gz -o /tmp/

# mac 安装包
curl https://github.com/fatedier/frp/releases/download/v0.62.1/frp_0.62.1_darwin_arm64.tar.gz -o /tmp/

nohup ./frps -c ./frps.toml > frps.log 2>&1 &
nohup ./frpc -c ./frpc.toml > frpc.log 2>&1 &